package yunjiao.javatutorials.guava.concurrent.api;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 接口限流
 *
 * @author yangyunjiao
 */
@RestController
@RequestMapping("/api-limit")
public class ApiLimitController {

    @GetMapping
    public ResponseEntity<String> request() {
        return ResponseEntity.ok("请求成功");
    }

}
